package com.server.dao;

import com.server.pojo.AlarmMessage;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AlarmMessageDao extends JpaRepository<AlarmMessage,Integer> {
    List<AlarmMessage> findAlarmMessagesByAlarm_Id(Integer id);
}
